<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<meta http-equiv="Pragma" content="no-cache"> 
<meta http-equiv="Cache-Control" content="no-cache"> 
<meta http-equiv="Expires" content="0"> 
<title>在线考试登陆</title>
<link href="../static/dl/login.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="login_box">
      <div class="login_l_img"><img src="../static/dl/images/login-img.png" /></div>
      <div class="login">
          <div class="login_logo"><a href="#"><img src="../static/dl/images/login_logo.png" /></a></div>
          <div class="login_name">
               <p>在线考试登陆系统</p>
          </div>
          <form method="post" action="/user/login">
              <input type="text" class="form-control" name="userName">
              <input type="password" class="form-control" name="password">
              <input value="登录" style="width:100%;" type="submit" aria-describedby="helpBlock">


          </form>
		  <span style="font-size: 20px">没有账号? <a href="register.html" style="font-size: 20px">注册</a></span>
		 
      </div>
      <div class="copyright">云和有限公司 版权所有©2016-2018 技术支持电话：000-88888888</div>
</div>
<div style="text-align:center;">

</div>
</body>
</html>
<script type="text/javascript" src="/static/js/jquery/jquery-1.9.0.min.js"></script>
<script>
    $(function () {
        var url = location.href; //获取url中含"?"符后的字串
        if (url.indexOf("?123146") != -1) {
            $("form").append('<span id="helpBlock" class="help-block" style=" color: red">用户名和密码不匹配</span>')
        }

    })
</script>
